package com.data.service.system;

import com.data.domain.report.Prtryinfo;
import com.data.domain.report.Prtryinfo;
import com.data.josonbean.select.SelectModel;
import com.data.model.SystemModel;

import java.util.List;

/**
 * Created by silenceholic on 2017/5/2.
 */
public interface PrtryinfoService {
    /**
     * 业务种类信息基本查询
     * @param systemModel
     * @return
     */

    List<Prtryinfo> getPrtryinfo(SystemModel systemModel);
    /**
     * 业务种类信息插入
     * @param
     * @return
     */
    int insertPrtryinfo(SystemModel systemModel);

    /**
     * 根据id查询
     * @param id
     * @return
     */
    Prtryinfo getPrtryinfoById(int id);

    /**
     * 业务种类信息修改
     * @param systemModel
     * @return
     */
    int modifyPrtryinfo(SystemModel systemModel ,int id);

    /**
     * select2取得业务类型供选择
     * @param name
     * @return
     */
    List<SelectModel> selectPrtry(String name);

}
